﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.Record;


namespace TyMES.ViewModel.Record.CodeStoreVMs
{
    public partial class CodeStoreTemplateVM : BaseTemplateVM
    {
        [Display(Name = "条码值")]
        public ExcelPropety Codevalue_Excel = ExcelPropety.CreateProperty<CodeStore>(x => x.Codevalue);
        [Display(Name = "条码类型名称")]
        public ExcelPropety CodeTypeName_Excel = ExcelPropety.CreateProperty<CodeStore>(x => x.CodeTypeName);
        [Display(Name = "所属工单")]
        public ExcelPropety orderCode_Excel = ExcelPropety.CreateProperty<CodeStore>(x => x.orderCode);
        [Display(Name = "所属排程")]
        public ExcelPropety schduleCode_Excel = ExcelPropety.CreateProperty<CodeStore>(x => x.schduleCode);
        [Display(Name = "是否启用")]
        public ExcelPropety enable_Excel = ExcelPropety.CreateProperty<CodeStore>(x => x.enable);

	    protected override void InitVM()
        {
        }

    }

    public class CodeStoreImportVM : BaseImportVM<CodeStoreTemplateVM, CodeStore>
    {

    }

}
